utils: optimize loading pixbuf from memory

this way avoids memcpy caused by GMemoryInputStream
toolbar: cleanup includes