Fix part of #34746: crash importing certain collada files with armatures. It still
imports the armature wrong though.

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