runtime/thread.h: Fix non-thread binding and control stack pointer access.