Quark deconfinement and gluon condensate in a weak magnetic field from QCD sum rules