Replace patches with upstream ones.