kernel: fix swconfig compilation with kernels 5.2+