Allow constant c-like enum to integral/float cast