imageio: add possibility to load image from a buffer, and make the loader GIL-free