Update core/src/main/scala/scalaz/Memo.scala

Use getOrElseUpdate to simplify implementation for mutable maps