[C2hs] bug in C2HSMarsh.extractBitMasks function