talloc: avoid a comparison mismatch & at the same time switch to non-legacy sysconf()
Without this, gcc warns about a sign mismatch in the comparison.
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>