Fix qemu endless loop when raising a SIGSEGV/SIGBUS signal with gdbstub in user emulation