Delete VM backtrace if allocated

Fixes a memory leak that happened when these exceptions were created
with a backtrace.