[FIX] CXImage: Don't call functions on unopened DllImageLib
Merge pull request #2389 from Fice/cximage_null_pointer_exception

FIX: don't free a null pointer in CXImage