Change order of thread-context members

Because 'stack' and 'stack_base' are related to each other, it makes
sense to locate both members close to each other.