Support per-layer cache configuration and attention-mask selection (#47901)
* Support heterogeneous cache layouts
* Add heterogeneous cache compatibility tests
* revert gpt-oss mxfp4 changes
---------
Co-authored-by: Elad Segal <13485709+eladsegal@users.noreply.github.com>