Relax regex for kernel version string format in validator.

It now parses versions like major.minor-* as used by some VMs.