mm: arch: make get_gate_vma take an mm_struct instead of a task_struct