ARMv7 block profiling + minor optimization

This adds ARMv7 block profiling, and also a minor optimization with dumping registers if they are no longer used in a block, which I shamelessly stole from Fiora.