Use a better method to locate the injector lib on Mac/Linux

Use dladdr(<lib entry point>) to locate the library since the lib is also
loaded into the inspector process.

This allows the injector to find the lib when run from
a location other than the qtinspector build dir.