eventdev: fix build for clang 4