x86: thread_info: merge tif masks