libmedia: Fix crashes on non-QC hardware

 * Correct the ifdeffage to stop crashes on non-QC systems.

Change-Id: If2e8cab322c78363c3c044e2f302dac897dbba50