update device extension check to test for empty array
update device extension check to test for empty array

JuliaPackageMirrors/OpenCL.jl,tkelman/OpenCL.jl,yuyichao/OpenCL.jl,tkelman/OpenCL.jl,JuliaPackageMirrors/OpenCL.jl,yuyichao/OpenCL.jl