Add mechanism to LoopPass to preserve loop metadata

- enable preservation in LoopRotate pass