[PATCH openEuler-22.03-LTS-SP1] EDAC/thunderx: Fix possible out-of-bounds string access