gdb: fix some Python files formatting

Running `pre-commit run --all-files` introduces these fixes.

Change-Id: I2e363fdf988b66d83008265b3ca8d1120f84b95d
3 files changed