[BE] Pass `-faligned-new` if supported by compiler (#97887)
<!--
copilot:poem
-->
### <samp>🤖 Generated by Copilot at 507f7a2</samp>
> _`-faligned-new` flag_
> _always on for C++17_
> _simpler winter code_
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97887
Approved by: https://github.com/atalman, https://github.com/Skylion007