Expire Marshaled Rails 3 cache entries

To give a better backward compatibility path we will expire all cache
entries that are marshaled without compressing instead of returning the
raw value.

We can't just try to load the value since it may introduce a security problem.

Fixes #17923

cc @matthewd @jeremywadsack @jeremy