CamelFolderThread: Use g_clear_object/pointer when possible
Also set the free function of all GPtrArray to ensure that all the added CamelMessageInfo are actually being released.
Also set the free function of all GPtrArray to ensure that all the added CamelMessageInfo are actually being released.