convertbmp: fix issues with zero bitmasks

No match.