Fix some bugs that prevented bitmaps from loading on GNU/Linux
1) Reading the header size assumed that long was four bytes.
Now it uses char and checks the magic numbers, not the BITMAPINFOHEADER size.
2) Fix a double-free (fclose was called twice due to incorrect usage of FFile)