Leveraging RISC-V in Combatting Vulnerabilities in Autonomous Systems