ethdev: fix C linkage type of latest functions