Small fixes

Change-Id: I852f1fe366277d5b4a392bfa0fdf76b2ae42e89f
Allow building with msm7x27a

Change-Id: Idad4310d91cb47eb4b4f6fe4839561fea93a6cf4
media_legacy: Fix build for msm8960

msm8960 doesn't use legacy

Change-Id: Id4ea5fc812a71027f311a2b21e077ff46fbd3801