fn parse_systemd_version(output: &str) -> Result<u32>
Parse the systemd major version from bootctl --version output, whose first line looks like systemd 259 (259.5-0ubuntu3).
bootctl --version
systemd 259 (259.5-0ubuntu3)