[MDGFS] Really declare GridFunctionSpaceBase as a friend

Looks like we need to fully qualify GridFunctionSpaceBase with its
namespace in the friend declaration.

This fixes the fix in f2947ec.