tilegx: fix some issues in the SW TSO support