[libomptarget-nvptx] Enable asserts in bclib

If the user requested LIBOMPTARGET_NVPTX_DEBUG, include asserts in
the bitcode library. Everything else will have very unpleasent
effects because asserts will appear when falling back to the static
library libomptarget-nvptx.a.

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

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