targets/{opencl,gbm,xa}, tests/trivial: fix build with nine