fix gpuarithm module compilation without CUBLAS and CUFFT