[PATCH v6 32/36] rapidio: fix common struct sg_table related issues