Fixed the SEGFAULT bug with Loongcc and Loongson3.