Fix some problems with ASTCallbackVH in its use as a DenseMap key.