x86-64: merge the standard and compat start_thread() functions