[PATCH AUTOSEL 5.4 23/26] recordmcount: Correct st_shndx handling