f2fs: fix to do sanity check on curseg->alloc_type
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.33 by commit f68caedf264a95c0b02dfd0d9f92ac2637d5848a. For more details please see the references link.