build-sys: move most of HAVE_KMOD into one section