fix crash determining Debian backports kernel version

* ps_mem.py (kernel_ver): Sanitize all components similarly,
not just the penultimate one, to deal with systems where
there is no third component in the kernel version.
For example: 3.14-0.bpo.1-amd64