pointalism: Use GST_STATE_NULL for freeing gstreamer data

Replace g_object unref calls with a call to gst_element_set_state
to avoid freeing memory still used by gstreamer. This way gstreamer
frees all resources safely.