fix incorrect initial count in shgetc when data is already buffered
fix incorrect initial count in shgetc when data is already buffered

davidlazar/musl,davidlazar/musl,chardi/musl,chardi/musl,chardi/musl