md: always clear ->safemode when md_check_recovery gets the mddev lock.