tcg/aarch64: Make direct jump patching thread-safe