OFPlugin: Don't close the handle before calling [super dealloc].

If we close the handle before calling [super dealloc], the plugin class
does not exist anymore. Instead, cache the handle, call [super dealloc]
and then close the handle.