Fix armature advanceTime when disposing the armature that is currently advancing

We dispose armatures usually at the end of an animation. This cause a bug because the advanceTime method of Armature did not check if the fields were set to null after the animation complete event is broadcasted.