[CodeGen][NFC] Move getRawAllocOrder to TargetRegInfo (#207124)
For most TargetRegisterClasses, the allocation order function is null
and we try to avoid pointer members in constants, so move the order
function to the TargetRegisterInfo to avoid the pointer member and
shrink the data structure.