[AutoDiff] Minor activity analysis changes. (#28409)
Hoist activity marking visited value set out of loop over original bbs.
This is safe because bbs directly start with dominator bbs's active values.
Visit bb arguments for activity marking. This was accidentally deleted in
https://github.com/apple/swift/pull/28225. Re-adding the logic doesn't
seem to affect any tests.