tests/virtio-blk: add virtio_blk_fix_dwz_hdr() function