Issue a diagnostic if we see a templated friend declaration that we do not
support.