build: use KERNEL_MAKE_FLAGS for kernel file compilations