[PATCH 4.14 266/293] f2fs: avoid out-of-range memory access