sparse_dd: hook up machine-readable log printing

This is used for signalling progress to a calling program.

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