Large Language Models in Code Co-generation for Safe Autonomous Vehicles