Applied one of Edward Schwartz's patches so incremental tabling will properly work when XSB is called via C.
Authored by: tswift 2018-04-20
Parent: [r9257]
Child: [r9259]