arm64: Remove the get_thread_info() function