c: Fix prototype of main() for mandelbrot.
hardware: Allow implementation of register file in on-chip memory (again).
hardware: Refactor buffering in SRamCtrl for better timing, small cleanups.