Don't jump to the deadlock handling code unless we're in a transaction.
clang complains bt_discard.c:76:6: warning: variable 'hp' may be
uninitialized when used here [-Wconditional-uninitialized]
whitespace
WT_ATOMIC_ADD4, WT_ATOMIC_SUB4 return values.