objtool: Fix 64-bit kernel build on 32-bit host

Fix a build issue with objtool on a 32-bit host (cross-compiling a
64-bit kernel).  This also simplifies read_retpoline_hints() a bit and
makes its implementation similar to most of the other annotation reading

Reported-by: Sven Joachim <svenjoac@gmx.de>
Fixes: b5bc2231b8ad ("objtool: Add retpoline validation")
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
1 file changed