[PATCH 5.18 660/879] f2fs: fix dereference of stale list iterator after loop body