Fixed the IoBuffer.shrink() methd, which was looping when the minimal
capacity was set to 0.