artresizer: parse output of `identify` command to check IM version

we used to parse `convert` output but `convert` happens to be a
Windows cli command too. using `identify` is less error prone.
restore command_output() implementation as of 0ec285f