Dijet angular distributions in photoproduction of charm at HERA