[PATCH 5.18 798/879] md: fix an incorrect NULL check in does_sb_need_changing