[PATCH 5.17 0345/1126] ARM: ftrace: ensure that ADR takes the Thumb bit into account