Make sure to rewind after BMP test, to fix broken GIF test

I found GIF loader in stb_image.h is broken, because stbi__bmp_test() returns 0 without rewinding.