Fixes issue 1402
Fixes issue 1402

Turn a relative exec path on the stack on MacOS into absolute using the
current dir.  Required adjusting os_get_current_dir() to handle being
called prior to the heap being initialized.

SVN-Revision: 2608

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