Fix compilation error when gdbjit is enabled by porting gdb-jit.cc