Get rid of the only use of TargetInstrInfo::getResultPos(), a deprecated method.