Electromagnetic radiation from a global cosmic string in an external magnetic field