[PATCH 6.6 176/341] md: clean up invalid BUG_ON in md_ioctl