A police officer has been charged over his role in a crash with two teenagers on an unregistered trail bike in Sydney's north-west.