Emphasise similarity pbuffer_shift and pbuffer_safe_shift.

The _safe variant of functions introduces a large amount of duplication.
Attempt to minimize this by making the unsafe variant as tiny a wrapper
as possible around the safe function.