thin_check.cc: remove superfluous 'if (enabled)'