Fix Coverity CID116110 - Resource Leak
Fix Coverity CID116110 - Resource Leak

I'm not sure there would be an error after dlopen() if it returns a
non-null pointer, but let's handle that and make Coverity happy.

profusion/lightmediascanner,profusion/lightmediascanner,profusion/lightmediascanner