Remove some more BUILD_NAMEDTENSOR flags
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/25919
Test Plan: - [namedtensor ci]
Differential Revision: D17285052
Pulled By: zou3519
fbshipit-source-id: 52dce616104248bd36a1ddbefe51ce83163eae51