[PyTorch][Kineto] add ActivityType.h when USE_KINETO is not set (#82028)
Summary:
This patch fixes an error "'ActivityType.h' file not found" when `use_kineto()` is false.
## Problem
Even when `use_kineto()` is not set (i.e., `-DUSE_KINETO` is not passed), `ActivityType.h` is required for PyTorch compilation:
https://github.com/pytorch/pytorch/blob/master/torch/csrc/profiler/kineto_shim.h#L15
## Solution
Add `ActivitiyType.h` dependency even when `use_kineto() == False`.
Test Plan: PyTorch internal and external CI tests.
Differential Revision: D38090153
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82028
Approved by: https://github.com/kit1980, https://github.com/robieta