A third man has been charged over an incident that resulted in a police officer allegedly being stabbed during an arrest in Western Sydney.