[oneDNN] Making hash map allocation a unique_ptr 
This change allocates hash map for kernel registry as a unique pointer.  It avoids a possible memory leak. Fixes [60506](https://github.com/tensorflow/tensorflow/issues/60506)