kmod/core: fix unloaded module 'vmlinux' error

Fix the following error:

  [  344.564905] kpatch: delaying patch of unloaded module 'vmlinux'