Notice level error fix in genlock detection

This fixes the notice level error:

```
Notice: Undefined property: batcache::$genlock in /var/www/site/wp-content/advanced-cache.php on line 511
```