Created nested utils.cpp (#109304)
# Summary
This refactors the preprocessing for nestedtensors that glue into SDPA. This is done in order to aid with reviewing:
https://github.com/pytorch/pytorch/pull/97485
Pull Request resolved: https://github.com/pytorch/pytorch/pull/109304
Approved by: https://github.com/cpuhrsch