[PATCH 5.17 565/772] f2fs: fix dereference of stale list iterator after loop body