InlineSchemaTree: fix bug in .containsRef()

This method was calling .matchingPointer(), which is wrong, since the latter
would try to resolve the pointer and we don't want that in this method.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>