Remove stale Bohrium backend.
Rearrange input reading in C code generator.
Some more code generator work.

I think the C part is done now.
Fix some memory size tracking issues.