sim/erc32: fix gdb with simulator build