GIOGetMimeType() free memory

Replaced "*/*" so that it is either NULL or can be used with free().
Improved GImageRead to free mime memory.
Fixed GFileChooserDefFilter to free mime memory.