main.lua: Fixed a bug that could suppress profiler output.

The syntax "snabbswitch -jp... <design>" did a direct os.exit() before
printing profiler output and would not print profiler output.