Allow with_backtraces to stack

We use Hashtbl.add and then Hashtbl.remove, but always adding
a reference to the same record. We use the size of the bindings
list in the hashtable as the reference count.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>