[PATCH AUTOSEL 6.14 132/642] objtool: Fix error handling inconsistencies in check()