fix memcached plugin

same as https://github.com/mackerelio/mackerel-agent-plugins/pull/7