[PATCH 6.18 220/614] hfs: fix potential use after free in hfs_correct_next_unused_CNID()