app: Use the function gegl_has_operation in sanity.c