Ticket #5816: Skip typename in template arguments for enum initializers.