check_kernel_freshness: Remove newline from version string

Newline would get matched with certain version strings otherwise,
causing stray newlines in the output.

Closes #2