Gcode: simplify get_int, use get_int to derive cached M and G codes