Unset cached variables on failure in Jansson find module

Prevents confusion on following cmake runs