Memcached returns FALSE on failure
... so it's not required to check for NULL, too.
The note Memcached returns NULL was a miss information in changelog of memcached-2.0
Merge branch 'hotfix/#6871-memcache-return-false-on-failure-perf-improvement' into develop

Close #6871
Forward port #6871