libs: core: debug: API for custom message handler.
libs: backends: GP_X11: Small cleanup.
doc: Update debug layer docs.
core: context: Fix GP_PIXEL_ADDR() macro.