md: fix possible oops when removing a bitmap from an active array