Fixed checks of consolidate static memory test case.
Fixed performance test validation and moved debug output of run_kernel.sh and oclang.sh to write err stream.
Added code run validation to synthetic test case.
Removed extra debug prints from some test run scripts.
Added linking in bulitins to test_safeptr_builtin test, but for some reason name mangling does not to exact same result for builtin symbol names.