Bug 724338: free the GimpImageFile's icon when its contents is updated.

The main consequence was that file icons were stuck to the first
filetype's icon selected in file dialogs.
(cherry picked from commit 6af7f47238a55a09b63c601fec5bda77cf2ab5d3)