[PATCH] splice: add optional input and output offsets