simulator: add command line support to specify input file.
Usage: ./tinyg.elf <input.gcode>

It's convenient for running the simulator inside GDB.