Separate c and c++ warning requirements
Separate c and c++ warning requirements

We require -Wnon-virtual-dtor which is only applicable for c++ targets.
This patch makes c compiler happy.

Signed-off-by: Dmitry Rogozhkin <01f0df9cc32cbf6a7f0faa5c8376e6cf28354d70@intel.com>

Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK