[PATCH 4.19 066/142] objtool: Fix segfault in .cold detection with -ffunction-sections