SI-7345 Prefer using a throwaway silent context over error buffer flushing.

Applied to Infer#isApplicableSafe. Less manual error buffer management
affords greater opportunity to cleanly express the logic.