Charmonium in the vector channel at finite temperature from QCD sum rules