output/jack: convert enum to constexpr