[PATCH 6.1 174/321] md: clean up invalid BUG_ON in md_ioctl