fix NPE on sbtree clear.
Merge branch '1.7.7' of github.com:orientechnologies/orientdb into 1.7.7