OAK-2256: MemoryNodeBuilder NPE on base() following root refresh
Avoid concurrent access to NodeBuilder.base()

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1637413 13f79535-47bb-0310-9956-ffa450edef68