sim: cgen: sync prototypes with implementation These prototype blocks are not normally used, so they've fallen out of sync with the actual function definitions. Resync them all.