t/Makefile: add machinery to check correctness of chainlint.sed