Switch to INT32_MAX because enums are ints in C.

"The expression that defines the value of an enumeration constant
shall be an integer constant expression that has a value representable
as an int."

Issue: PLCR-544