contrib: add convert-grafts-to-replace-refs.sh