Remove unused global $wgMemc

Rename $type so it's not unused

Change-Id: If74c659a4ae507d8d59fe4d17e77f13f5e646c95