f2fs: fix to do sanity check on curseg->alloc_type (CVE-2022-49170) | HOL Guard CVE