[PATCH v3 16/25] xen: gntdev: fix common struct sg_table related issues