i#1054: Find DR's library bounds in a STATIC_LIBRARY build

This ends up reducing the number of STATIC_LIBRARY ifdefs, which I like.
is_in_dynamo_dll() still returns false for static builds.

Fixes issue 1054.

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

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1823 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
Merge branch 'master' into static-dr-bounds