Fixes icons with no mask (which is optional for 32BPP BMP icons) by checking if we are past the read boundary and then creating a dummy mask that is completely opaque.
Merge pull request #164 from sorlok/fix_icons_no_mask

Fixes icons with no mask (which is optional for 32BPP BMP icons)