proc_getargv() can return an sbuf with length zero. In the Linux
note_prpsinfo() handler, this would cause "len" to underflow to -2,
resulting in a giant out-of-bounds memchr() loop.
There is no reason to subtract anything from the sbuf length to begin
with, the nul terminator is not included there. Simplify the code to
fix this bug, and modify the native note handler to match.
Reported by: Laam Alif at Ibteda Digital Library
Fixes: 00d17cf342cd ("elf_note_prpsinfo: handle more failures from proc_getargv()")