Rather than pass in some random truncated offset to the pid-related
functions, check that the offset is in range up-front.
This is just cleanup, the previous commit fixed the real problem.
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>