add protobufvarint impl to enums in codegen