device/pipe: add rt_pipe_{init,detach}

This provide the possibility that allocate the buffer of the ringbuffer
on a specific region, instead of always mallocing it. It also bring us
the benefit of using pipe device on the systems without heap.
Merge pull request #142 from grissiom/pipe-device

device/pipe: add rt_pipe_{init,detach}