Support MIPS gp-relative addressing option

Generate MIPS gp-register-relative global variable accesses in
lb/lbu/lw/sb/sw instructions when using the '-use-gp' option.