arm64: convert patch_lock to raw lock