ethdev: fix build with strict flags