blender: use stdenv from cudaPackages when building with CUDA (#368896)
Otherwise stdenv may have an incompatible compiler, as is currently the
case, so this fixes the build with cudaSupport.
authored by Andrew Marshall and committed by GitHub 58a0309a ce61cfae