[openEuler-5.10 140/150] f2fs: fix to do sanity check on segment type in build_sit_entries()