mx31: Introduce mx31_set_gpr function