[PATCH 4.15 46/72] /dev/mem: Avoid overwriting "err" in read_mem()