Implementing Advanced Driver-Assistance Systems in Software-Defined Vehicles