Check for enumerated constants outside the range of the enum type.

Format unrecognized enum values as hex.
Fix up test cases for change in enumeration constants.

- Add “increment” test to annotate.py script.
Add more message types to annotate-input.yml.