Throw when node store batch writes fail

Same required here:

https://github.com/ripple/rippled/blob/develop/src/ripple/nodestore/backend/RocksDBFactory.cpp#L264

And here:

https://github.com/ripple/rippled/blob/develop/src/ripple/nodestore/backend/LevelDBFactory.cpp#L177