w32_common: Don't use globals for TRACKMOUSEEVENT

It seems working on getch2 gave me some brain damage.
Merge branch 'master' into lua_experiment