[PATCH 4.4 30/47] proc: Avoid mixing integer types in mem_rw()