make gettimeofday_nv use Time::HiRes on Win32

C syntax errors otherwise
Simplify diff_files() in t/lib/NYTProfTest.pm
Better diagnostics for fileinfo_of('(eval 1)[-:1]') failure
Fix assorted compiler warnings re tick count and has key len types.