keyctl_session_to_parent(): use thread_group_empty() to check singlethreadness