[PATCH] md/bitmap.c:bitmap_mask_state(): fix inconsequent NULL checking