audit: Fix possible return value truncation in audit_get_context()