swr/rast: threadID via portable std::this_thread::get_id()