demote some errors and suppress some warnings if using bsc 2014 or newer

Change-Id: I8b13a1372cd01abda46a951c88427e73b7bf1695