Sanitize kernel image's version string (drop colon).