Fix crash introduced by commit e08b97215b1611 (fix 542 link ancestor bone)

- Test 'parent_is_value_node' before 'get_parent_value_node' !
- TODO about improvement : "if bone, reject only if same skeleton"