Constraints on the polarized gluon density in the proton from charm photoproduction