gridFunctionAdapter was removed from dune-stuff, insert the implementation here