or1k: add error check while read memory
or1k: fix some log messages