Make the STL functions in FunctionalExcept.cpp conditionally compiled

Make the STL functions in FunctionalExcept.cpp conditionally compiled 
based on the config.

Without this patch, programs which statically link libfolly and newer
versions of libstdc++ will cretae linker errors because of multiple
definitions of the __throw_* functions: one from libfolly and one from
libstdc++.