tox: Adapt to toxcore API changes

tox_load() now also returns -1 when loading saved data in an older
format.