Return correct errors on terminating thread

Fixes Final Fantasy 4 hangs when playing videos a second time.

Turns out it was any video.  And also some sound thread so maybe music?  Anyway, it was checking the actual error code.

-[Unknown]