grc: fix evaluation of EnumParams