cpu: fix up rust entry point for ISRs to not require external linkage