Fix #35665: cycles CUDA crash after recent changes. This works around a compiler
bug in CUDA 4.2 (solved in 5.5) with typedef'd function parameters.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57317 954f8c5b-7b00-dc11-b283-0030488c597c