tomoyo: avoid get+put of task_struct