Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro.

It was only defined for no-longer-supported-gcc.
Lambda: Remove obsolete GCC version checks.