Core: Use an enum for the Gekko exception flags instead of defines
Merge pull request #699 from lioncash/enum

Core: Use an enum for the Gekko exception flags instead of defines