abi-check.sh: fix false postive ABI error, and display output error log

No match.