fixed #7031: use of undefined variable in ZendCacheStorageAdapterApc

...::internalGetMetadatas()

fixes #7031