[PATCH 02/29] objtool: Move checking code to check.c