Add extra check on CUDA library detection
Add extra check on CUDA library detection

Some machines return a non-zero pointer for `Libdl.dlopen("")` causing
MXNet dep build to incorrectly report presense of CUDA libraries.

zhreshold/mxnet,yajiedesign/mxnet,larroy/mxnet,eric-haibin-lin/mxnet,ForkedReposBak/mxnet,leezu/mxnet,reminisce/mxnet,sxjscience/mxnet,leezu/mxnet,dmlc/mxnet,zhreshold/mxnet,ForkedReposBak/mxnet,larroy/mxnet,reminisce/mxnet,larroy/mxnet,dmlc/mxnet,mbaijal/incubator-mxnet,mbaijal/incubator-mxnet,apache/incubator-mxnet,tlby/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,ptrendx/mxnet,apache/incubator-mxnet,sxjscience/mxnet,zhreshold/mxnet,yajiedesign/mxnet,larroy/mxnet,tlby/mxnet,szha/mxnet,szha/mxnet,DickJC123/mxnet,ForkedReposBak/mxnet,larroy/mxnet,zhreshold/mxnet,mbaijal/incubator-mxnet,reminisce/mxnet,sxjscience/mxnet,tlby/mxnet,DickJC123/mxnet,dmlc/mxnet,ptrendx/mxnet,dmlc/mxnet,leezu/mxnet,zhreshold/mxnet,dmlc/mxnet,tlby/mxnet,eric-haibin-lin/mxnet,reminisce/mxnet,leezu/mxnet,reminisce/mxnet,dmlc/mxnet,szha/mxnet,ptrendx/mxnet,yajiedesign/mxnet,dmlc/mxnet,sxjscience/mxnet,mbaijal/incubator-mxnet,zhreshold/mxnet,reminisce/mxnet,tlby/mxnet,mbaijal/incubator-mxnet,tlby/mxnet,eric-haibin-lin/mxnet,szha/mxnet,eric-haibin-lin/mxnet,DickJC123/mxnet,ptrendx/mxnet,mbaijal/incubator-mxnet,leezu/mxnet,ptrendx/mxnet,tlby/mxnet,larroy/mxnet,reminisce/mxnet,yajiedesign/mxnet,larroy/mxnet,dmlc/mxnet,ForkedReposBak/mxnet,mbaijal/incubator-mxnet,eric-haibin-lin/mxnet,ptrendx/mxnet,yajiedesign/mxnet,reminisce/mxnet,yajiedesign/mxnet,sxjscience/mxnet,zhreshold/mxnet,tlby/mxnet,szha/mxnet,leezu/mxnet,szha/mxnet,mbaijal/incubator-mxnet,ForkedReposBak/mxnet,dmlc/mxnet,larroy/mxnet,yajiedesign/mxnet,yajiedesign/mxnet,ForkedReposBak/mxnet,apache/incubator-mxnet,yajiedesign/mxnet,sxjscience/mxnet,eric-haibin-lin/mxnet,mbaijal/incubator-mxnet,zhreshold/mxnet,eric-haibin-lin/mxnet,tlby/mxnet,szha/mxnet,ForkedReposBak/mxnet,reminisce/mxnet,szha/mxnet,zhreshold/mxnet,ForkedReposBak/mxnet,DickJC123/mxnet,ptrendx/mxnet,ForkedReposBak/mxnet,eric-haibin-lin/mxnet,ptrendx/mxnet,tlby/mxnet,szha/mxnet,eric-haibin-lin/mxnet,reminisce/mxnet,leezu/mxnet,ptrendx/mxnet,ptrendx/mxnet,leezu/mxnet,apache/incubator-mxnet,larroy/mxnet,leezu/mxnet