Implement workarounds for thrust::pointer and pointer traits for g++-4.1.
Implement workarounds for thrust::pointer and pointer traits for g++-4.1.

zeryx/thrust,zhenglaizhang/thrust,arnabgho/thrust,jaredhoberock/thrust,thrust/thrust,andrewcorrigan/thrust-multi-permutation-iterator,sdalton1/thrust,zeryx/thrust,andrewcorrigan/thrust-multi-permutation-iterator,raygit/thrust,sdalton1/thrust,thvasilo/thrust,xiongzhanblake/thrust,Ricardo666666/thrust,Ricardo666666/thrust,egaburov/thrust,thvasilo/thrust,andrewcorrigan/thrust-multi-permutation-iterator,GrimDerp/thrust,dachziegel/thrust,sdalton1/thrust,egaburov/thrust,thrust/thrust,dachziegel/thrust,sarvex/thrust,marksantos/thrust,arnabgho/thrust,xiongzhanblake/thrust_src,zhenglaizhang/thrust,mohamed-ali/thrust,thrust/thrust,xiongzhanblake/thrust,egaburov/thrust,jaredhoberock/thrust,jaredhoberock/thrust,xiongzhanblake/thrust_src,arnabgho/thrust,xiongzhanblake/thrust,sarvex/thrust,mohamed-ali/thrust,jaredhoberock/thrust,raygit/thrust,GrimDerp/thrust,sarvex/thrust,raygit/thrust,zeryx/thrust,thrust/thrust,marksantos/thrust,jaredhoberock/thrust,zhenglaizhang/thrust,thrust/thrust,mohamed-ali/thrust,Ricardo666666/thrust,thvasilo/thrust,GrimDerp/thrust,xiongzhanblake/thrust_src,dachziegel/thrust,marksantos/thrust