[PATCH 5.10 318/663] objtool: Fix error handling for STD/CLD warnings