CP-9052: print error message in resize

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9268: convert pages to sectors when determining end of data

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9052: don't convert DD_BLK_UNSED

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9271: disallow reparenring VHDs with different versions

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9271: print error message instead of error value

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9052: check parent/vhild versions in vhd-util check

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9052: implement BAT accessors

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9052: convert BAT when writing it

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9268: convert journal BAT when restoring

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
CP-9267: disallow coalescing of different versions

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>