md/bitmap: clear BITMAP_WRITE_ERROR bit before writing it to sb