pcm: dshare: Fix overflow when slave_hw_ptr rolls over boundary