oilify: Fix invalid free (bug 729934)

Prior version used n_pixels in a call to g_slice_free1 after it
was no longer valid.