Features: Add gnu_cxx_typeof extension.

Add infrastructure for recording C++ compiler extensions as
needed.
Merge topic 'gnu-cxx-features' into next

35cebcdd Features: Add gnu_cxx_typeof extension.