[mips] Define reg+imm load/store pattern templates.