net/enic: replace some PMD macros with standard API