Add a method for getting the enumeration underlying type. Differential revision: https://reviews.llvm.org/D93696