[PATCH 5.11 380/775] objtool: Fix error handling for STD/CLD warnings