Fix build on GCC-based systems:
The compiler feature "cxx_decltype" is not known to CXX compiler
Approved by: portmgr (tier-2 blanket)