fixes issue 1016
fixes issue 1016

update to r1617 to get os_using_app_state() and related fixes



SVN-Revision: 1053

sigma-random/drmemory,sigma-random/drmemory,code4bones/drmemory,sigma-random/drmemory,code4bones/drmemory,code4bones/drmemory,sigma-random/drmemory,sigma-random/drmemory,code4bones/drmemory,LohithBlaze/drmemory,LohithBlaze/drmemory,LohithBlaze/drmemory,LohithBlaze/drmemory,LohithBlaze/drmemory,code4bones/drmemory