RPA sum rules for giant resonances at finite temperature