Fix broken PCM capture streaming

Because of my misunderstanding amdtp_out_stream structure, capture PCM data is not
written into PCM buffer correctly, PCM buffer pointer is not wrapped correctly in its
period/buffer border.

Currently PCM capture streaming is continuous. But the number of sample is one in one-eighth
of sampling rate.