Fix crash when invoking Form.ByLoftCrossSections with null input.
Merge pull request #2455 from Benglin/RC0.7.2_Revit2015

Fix crash when invoking Form.ByLoftCrossSections with null input.