Thermal reduction effects on one- and two-photon luminescence in graphene quantum dots