Fix issue 9852.

_aaEqual should not dereference null when given a null AA.