Introduce HAVE_TEUCHOS_EXECINFO into CMake

And only use backtrace() from 'execinfo.h' if HAVE_TEUCHOS_EXECINFO is
included.

Fixes #351.