leveldb: fix ContainerIterator for tails leaving

Fixed tests TestContainerIterator.tailsLeave in gtest_leveldb

Open-webOS-DCO-1.0-Signed-off-by: Nikolay Orliuk <norluk@luxoft.com>
Change-Id: Idaaca9f68fcfb2667069c0451e989edf405bbe7f
Reviewed-on: https://g2g.palm.com/2251
Reviewed-by: Build Verification
Reviewed-by: Nikolay Orliuk <norluk@luxoft.com>
Tested-by: Nikolay Orliuk <norluk@luxoft.com>
Reviewed-by: Maksym Sditanov <msditanov@luxoft.com>
Reviewed-by: Roger Stringer <roger.stringer@lge.com>