Check if our checker can be used before enforcing it.

The buffer could be in some derived mode that flycheck wont activate
the checker for, which results in errors if we try to enforce it.