fixes issue 394 + when adding new region to written_areas truncate it to not overlap
fixes issue 394
+ when adding new region to written_areas truncate it to not overlap

SVN-Revision: 736

code4bones/dynamorio,AmesianX/dynamorio,daksunt/dynamorio,daksunt/dynamorio,sigma-random/dynamorio,bl4ckic3/dynamorio,daksunt/dynamorio,AmesianX/dynamorio,bl4ckic3/dynamorio,daksunt/dynamorio,sigma-random/dynamorio,AmesianX/dynamorio,code4bones/dynamorio,code4bones/dynamorio,AmesianX/dynamorio,AmesianX/dynamorio,bl4ckic3/dynamorio,daksunt/dynamorio,bl4ckic3/dynamorio,bl4ckic3/dynamorio,sigma-random/dynamorio,sigma-random/dynamorio,code4bones/dynamorio,code4bones/dynamorio,sigma-random/dynamorio