Kfsio library: fix begin space available optimization in the case if the number of available bytes is requested by not returning earlier even if the buffer has no "consumable" space, i.e. empty(). Presently this is only used / required by EnsureSpaceAvailable().