user32: Move thread info setting and WH_GETMESSAGE call into peek_message.