t1lib: use share.install instead of cp_r

Use `share.install` as recommended by @adamv in #26001