Fix ARM getInstrLatency logic to work with the current API.