[OMPT] Fix task-type test with GCC

This is similar to D43882. The runtime needs to be initialized before calling print_ids(0)

http://lab.llvm.org:8011/builders/openmp-gcc-x86_64-linux-debian/builds/60

Differential Revision: https://reviews.llvm.org/D43897

git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@326428 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed