fix KERNEL_PATCHVER, properly strip -rc* suffixes