[mips] [IAS] Refactor symbol-address loading code into a helper function. NFC.