fixed compilation error "ambiguous symbol" on CUDA 5.0:

disabled Texture Reference API for old CUDA toolkits
Merge pull request #1534 from jet47:fix-cuda-5.0-build