Function sourcemapPathTransform for Rollup to rebase sources in source maps, so that they start with the same path prefix.