apitrace: fix build for non-x11 unix platforms

egl-types for unix platforms do not have to depend solely on x11-types