Changed dlopen to use RTLD_DEEPBIND where available

- Fixes bugreport:7680
  http://hercules.ws/board/tracker/issue-7680-hpm-is-broken/

Signed-off-by: Haru <haru@dotalux.com>