[PATCH v5 35/38] rapidio: fix common struct sg_table related issues