Only test gpu targets with trunk

Because llvm 3.4 and earlier duplicate syncthreads incorrectly
and you get race conditions.