core: remove extra thread_create_arg() function