Thermal instability in rotating galactic coronae