Move getNextOperandForReg() into MachineRegisterInfo.