The muon component of gamma-ray-initiated air showers