[PATCH v2 10/14] gdbstub: Expose TARGET_SIGTRAP in a target-agnostic way