Small optimization in hashlib
Fixed simlib entries for $memrd and $memwr