Rotochemical heating in millisecond pulsars: modified Urca reactions with uniform Cooper pairing gaps