Re-add include of compatibility header for genericreferenceelements.hh.

Now everybody get spammed with deprecation warnings from the included file.