[Chapel Merge] Fix problem building compiler on GCC 5

Branch: refs/heads/main
Revision: 95caf21
Author: mppf
Link: Fix problem building compiler on GCC 5 by mppf · Pull Request #18722 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18722 from mppf/follow-up-18700

Fix problem building compiler on GCC 5

Follow up to PR #18700 to address a failure building chpl in linux32 testing.
GCC 5 does not have a std::hash function for enums,
so cast to unsigned.

Trivial and not reviewed.

Modified Files:
M compiler/next/include/chpl/types/ClassTypeDecorator.h

Compare: https://github.com/chapel-lang/chapel/compare/a23a4470ba18...95caf2144000