Fix `wasm-opt --version` parsing
Created by: cmichi
Closes https://github.com/paritytech/cargo-contract/issues/247.
The issue was that binaryen includes more extensive version information in the --version
output only if built from source. If installed via a package manager the version output can be more compact.
I've also escalated this into the ticket https://github.com/paritytech/ci_cd/issues/121, to install binaryen
from a package manager in our CI.