Fixes RT#92346: Moose enum warnings

This fixes RT#92346: warnings produced by the change to the way enum should be called.

See https://rt.cpan.org/Ticket/Display.html?id=92346