Fixed bug with re-running programs from xgdb

This could be better implemented, but post-run the structure in
reclaimUnreachableFunctions contains null ptrs, which causes
segmentation faults.

There's probably a better solution, but this works for now.