Use Backtrace.* functions (rather than Debug.backtrace_* functions)

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