Magnetic moments of N = 50 isotones and proton core polarization