Fix a small bug where we could compute SharedBufferStack's tail incorrectly.

Also add "tail" to the debug dump().

Change-Id: I04b1ea375dfc9ddcc22f0c6b6cd01300e507572e
1 file changed