[PATCH 4.19 089/120] proc: Avoid mixing integer types in mem_rw()