[abi] reorder enum and structure definitions and remove redundant template parameters
[abi] reorder enum and structure definitions and remove redundant template parameters

rv8-io/rv8,rv8-io/rv8,rv8-io/rv8