descriptor-utils: fix split_at()
split_at() doesn't correctly handle the front part of the splitted buffer, which should be truncated to [0, rem].
split_at() doesn't correctly handle the front part of the splitted buffer, which should be truncated to [0, rem].