config.l: dependency checks for booleans

Disable the boolean option that has its dependency disabled.
This fixes the case where GENERATE_TREE_VIEW is set to TRUE
even when its dependency GENERATE_HTML is FALSE.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>