media: Various fixes and cleanups

 * Clean up cruft from old QC property checks
 * Enable correct CFLAGS for libmedia to support track offload
 * Clean up warnings around variable ordering

Change-Id: I63026b0c3dbf9bf1eea29357136df0a4451f94d9