init: Add a version of apply-macro-to-region-lines which works with an offset into the line