[golang] fix gdb init for safe-paths