fix increment warnings in memcached

Change-Id: If1849ee46f00653e1fa655a8d88860ca54ae5f30
Signed-off-by: Giuseppe Lavagetto <glavagetto@wikimedia.org>