scripts/gdb: fix 'qemu coroutine' when users selects a non topmost stack frame