Modified SafeLibraryHandle to allow initialization from IntPtr