i#1022: Fix standalone apps on Linux to initialize our_environ
i#1022: Fix standalone apps on Linux to initialize our_environ

For now, we're using _init() for non-STATIC_LIBRARY builds and
__attribute__((constructor)) for STATIC_LIBRARY builds.

Tested with gcc 4.4.

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

SVN-Revision: 1777

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