fix: allow four-part `uname -r` versions
On WSL2, the kernel version is reported as a four-part version such as `5.15.167.4-microsoft-standard-WSL2`. The extra part is the increment number that Microsoft put onto of the upstream kernel headers. We drop the extra patch part to stay consistent. This likely needs a follow-up series of patches to validate the detection under WSL.