app: remove unused variables and some cleanup in sanity_check_gegl_ops()