file-bmp: Fix final bfSize patched into BMP header (#737669)

(cherry picked from commit db18c1f172be871fd5758d7d8ee6da447468696f)