Gamma rays from SN 1987A due to pseudoscalar conversion