[PATCH 6.4 092/239] tools: ynl-gen: fix enum index in _decode_enum(..)