It appears to be based on the idea that somehow having to do a mag change will stall a potential killer while he fumbles with his reload, allowing the innocent victims to overcome their terror and jump the killer before he can get another magazine loaded.
I'm not sure that this is actually a Hollywood stereotype that's been scripted into our laws, since in Hollywood, guns don't actually require reloading....so I'm not quite sure how it actually fits in...
NS