Refactored shared code after review.
Fixed bug in MacroAssemblerMIPS::computeScaledAddress().