[mips] Use function TargetInstrInfo::getRegClass.

No functionality changes.