[gdb/python] Use GDB_PY_SET_HANDLE_EXCEPTION more often

I found a few more places where we can use GDB_PY_SET_HANDLE_EXCEPTION.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
4 files changed