Gst.py: raise an error if we can't unmap the memory