gdb_monitor: Support session upgrades

This patch enables the debugging on services that rely on dynamic
session upgrades. For example, nitpicker expects its clients to donate
RAM quota that matches the size of the virtual framebuffer, which might
change during the lifetime of a nitpicker session.
debug_nitpicker.run: adapt to libc VFS changes