fix code path where child function returns in arm __clone built as thumb