Replace deprecated LOG.warn with LOG.warning
Replace deprecated LOG.warn with LOG.warning

LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: I68f4ccdd3cc5923ef1db40a80857a915e4e583e1
Closes-Bug:#1508442

openstack/oslo.cache,openstack/oslo.cache