Bug 1116358 - Directly call Release() on |this| when closing a GMP encoder/decoder proxies; r=cpearce

This is needed in order to avoid calling Release() on a smart pointer.