On the stability of shear flow in a rotating gas