include/kernel.mk: enhance built-in/missing modules detection when packaging kmods