core/thread: remove thread_create_arg from header

It's just a leftover from #856