GC fixes

* Fix return values of collectgarbage("count")
* Clamp collectgarbage("stepmul")
* Make thread stack traversal work
* Make full cycle collect work
* Fix debt accounting types (signed math)

Signed-off-by: katlogic <kat@lua.cz>