Add const to compileProgram and to the various test functions in CrashDebugger.