Make 'nr' signed

Fix problem explained in commit 253cd4c ("Fix xread() return value
checking") for real.

Signed-off-by: Pekka Enberg <penberg@kernel.org>