[PATCH 4.14 43/67] /dev/mem: Avoid overwriting "err" in read_mem()