[caffe2] fix field initialization after base Clang errors (#33556)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33556
Fix several places exposed by Clang where order of member initializer list doesn't actually match the actual initialization order. The fix is to simply reorder member initializer lists.
Also accepted formatting changes suggested by clang-format linter.
Test Plan:
```lang=bash
buck build mode/opt -c fbcode.cuda_use_clang=true //fblearner/flow/projects/dper:workflow
buck build mode/opt //fblearner/flow/projects/dper:workflow
```
Execute tests on devgpu:
```
buck test mode/dev-nosan -j 8 //caffe2/caffe2/python/operator_test/... //caffe2/test:cuda
```
Reviewed By: ngimel
Differential Revision: D20004834
fbshipit-source-id: b61c7c3f1fe8413bbb3512f6b62177a3ddf67682