Implement API change of shiftl and shiftr, limit Prelude import of HardwareTypes