devices/runtime: support dumping of ELF object via ARTIQ_DUMP_OBJECT environment variable