[PATCH v6 24/36] xen: gntdev: fix common struct sg_table related issues