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