By storing the snprintf result in a size_t, the chunk_len < 0 check
could never be true. Store it in an int instead, matching the return
type of snprintf().
Fixes: 316d06b01130 ("selftests/landlock: Add audit tests for filesystem")
Assisted-by: LLM
Signed-off-by: Günther Noack <redacted>