Merge pull request #26754 from davidflanagan/bug1096839

Bug 1096839: add BMP support to shared/js/media/image_size.js to fix Gal... r=pdahiya