memory: make GstMemory a miniobject