Fix order-of-arguments problem that could cause crash -- need to test 'form' before accessing form->blah.
Fix order-of-arguments problem that could cause crash -- need to test 'form'
before accessing form->blah.


git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@577 a3683778-fedd-11de-87c3-653bb6514e15

Anteru/OpenShadingLanguage,juvenal/OpenShadingLanguage,rlmh/OpenShadingLanguage,Anteru/OpenShadingLanguage,mcanthony/OpenShadingLanguage,aconty/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,aconty/OpenShadingLanguage,rlmh/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,sjparker/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,brechtvl/OpenShadingLanguage,sjparker/OpenShadingLanguage,Anteru/OpenShadingLanguage,mcanthony/OpenShadingLanguage,sjparker/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,brechtvl/OpenShadingLanguage,svenstaro/OpenShadingLanguage,brechtvl/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage,mcanthony/OpenShadingLanguage,svenstaro/OpenShadingLanguage,imageworks/OpenShadingLanguage,Anteru/OpenShadingLanguage,imageworks/OpenShadingLanguage,rlmh/OpenShadingLanguage,juvenal/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,gzorin/OpenShadingLanguage,juvenal/OpenShadingLanguage,rlmh/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,svenstaro/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,imageworks/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,svenstaro/OpenShadingLanguage,lgritz/OpenShadingLanguage,gzorin/OpenShadingLanguage,aconty/OpenShadingLanguage,mcanthony/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,gzorin/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,juvenal/OpenShadingLanguage,imageworks/OpenShadingLanguage,sjparker/OpenShadingLanguage,imageworks/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage