f2fs: Fix undeclared definitions while patching