Cleanup usage of LINUX_VERSION_CODE for older kernels