[PATCH 4.16 07/31] /dev/mem: Avoid overwriting "err" in read_mem()