Compilation fix for LabelReader.cpp
Merge pull request #7486 from dumganhar/v2.2.5

Compilation fix for LabelReader.cpp
[ci skip]