Give more meaningful message on BMP header parsing error