Disable the -d vs non-d libartbase dlopen check when it's static.

Test: m hiddenapi && out/host/linux-x86/bin/hiddenapi
  when it is built with static libartbase (see child CL).
Bug: 145934348
Change-Id: I2487e3e2b2b7153e71590748f5e2b6dbd4b5e4f6
2 files changed