Check malloc() return value

This is unlikely to fail (especially on platforms with optimistic memory
allocation strategies), but we may as well produce a proper error
message if it does.
Add check_hier (cache hierarchy check) make target

Update and use the parameters from README.md, and edit the relevant
section to mention `make check_hier`.

This target does not produce a report file.