audit: fix type of sessionid in audit_set_loginuid()