dmsetup --version: test and fix parser

Signed-off-by: David Scott <dave.scott@eu.citrix.com>