kmod/core: require fentry

Only compile the core module if the compiler supports -mfentry.