[XLA:CPU] OneDNN matmul library call for XLA HLO Dot operation
Closing this as I've reverted the rollback of #61237 from internally with commit https://github.com/tensorflow/tensorflow/commit/765314dd0b5e3fae242c9b7441ce1bda3daa8070. (Incorporating the fix from commit https://github.com/tensorflow/tensorflow/commit/2abff97921a566d143be67451aad85e735e9f1ab). Thank you again for the fix!
This PR includes a fix to BF16 failure in the earlier PR #61237. Changes here is to disable oneDNN matmul if the CPU does not have either AVX512_BF16 or AMX_BF16 feature.