Stop decoding in drmgr_decode_sysnum_from_wrapper() on an OP_ret
instruction to avoid incorrect wrapper analysis.  This is prone to
happen on kernel32 routines which on different flavors of Windows vary
in whether they actually make a system call.  This bug was hit on Win8
kernel32!VerifyConsoleIoHandle.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1934 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#912: add support for a number of Win8 API sets, enough to get dbghelp
6.11 and kernelbase working on wow64.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1935 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#915: ignore win8 kernelbase init failure, as we can continue on
successfully.
Turn win8 kernelbase load from a fatal error into just a warning on
non-x64.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1936 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#1088: revert r1933 until the Dr. Memory release is out.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1937 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#1089: disable redirection of WriteFile

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1938 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#1086: Use a non-ignorable syscall in linux.infloop

This workaround ensures that SIGTERM is delivered and the test passes
instead of hanging.  The deeper issue of bounded time signal delivery to
coarse fragments is still open as issue 1087.

Fixes issue 1086.

Review URL: https://codereview.appspot.com/7380046

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1939 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6