pothos-gui: make pixmap stack allocated, fix memory leak