(current_function_is_thunk): Add extern to declaration.