unix/stream: fix peeking with an offset larger than data in queue