Don't warn if compiler is too old

We want to gracefully fall back to using default visibility if the
compiler is too old.

Change-Id: I4130d0ba67bdc93a6fb5dc96e07280a96ce9e1af
Merge topic 'export-header-warnings' into master

477bac7e Don't warn if compiler is too old