A mourning fan wears a hat with a photograph of Stephen Gately at the Boyzone star's funeral