makefile fix
Redefined ringbuffer_peek to look at next data bit without adv pointer

Meant to have a way to look at the next item in the queue without
advancing the pointer. ringbuffer_peek does that now.

created ringbuffer_avail (not sure if it's correct) to give
you the available free space in the queue.