Adds 'expansion' bp to each side of every 1D interval, then clips the
result to the chromosome boundaries (see gintervals.force_range).
Examples
gdb.init_examples()
gintervals.expand(gintervals(1, c(1000, 5000), c(2000, 6000)), 100)
#> chrom start end
#> 1 chr1 900 2100
#> 2 chr1 4900 6100