Add buffer_wrap_sub() and buffer_wrap_add() to normalize buffer pointers after an addition or subtract.