Fix the bug that spec-cpu2000 can not pass with runspec: segmentation fault