[oneDNN][Bug Fix]Fix a pooling ops primitive caching problem
This PR fixes a problem which is related to oneDNN pooling ops primitive caching.
Related ticket is: https://github.com/tensorflow/tensorflow/issues/61482


The problem occurs when running the max (applicable to avg) pooling op twice with same input sizes
1. first time is with NCHW format
2. the other is with NHWC format.

The fix is done by adding src format into caching key.