Use T_OPAQUE instead of T_OPAQUEPTR for the MMDB * type

The latter ends up copying the underlying struct, leading to issues when
freeing it. The former just uses the pointer _value_, so we only have one
copy.