build: Suppressing openssl deprecation flags on OSX

The suppression needs to be enabled for the whole compilation unit.

Change-Id: I9a68e135a94dfd0fa31c4e814a731b5f0c59809a
Refs: #1429