configure: auto-check for backtrace support

Signed-off-by: Eduardo Silva <edsiper@gmail.com>