gdb: move compile_instance to compile/compile.h