MDL-41246 cache: Fix PHP notice of non well formed numeric values for the memcache store