Fixed compilation error "ambiguous symbol" on CUDA 5.0

Disabled Texture Reference API for old CUDA toolkits