Set the process thread id based on the RUBY_ENGINE

The current logic to set the process_thread_id based on the hash of pid and thread id breaks up in a multi process environment like unicorn.