avutil/cuda_check: avoid pointlessly exporting same symbol from two libraries