sim: implement instruction cache.

There's currently no support for maintenance operations, but the
software simulation and debugger provide coherency.