Clean up of arch dependent thread start up code.