scripts: add ABI checking utility