[PATCH openEuler-1.0-LTS 2/2] ELF: Fix mixed declarations and code of "snapshot_randomize_va_space"