Revert "Only build when no media variant is set, and display variant isn't legacy"

This reverts commit af06b2df11221dbbeac5a9443c56af7238c401c8.
media: Use project pathmap

Change-Id: I7f18f9af0eac23baba2559b40dcddbc1081e91f5
media: Use kernel headers

Change-Id: I7a238b7c105d58eb6ec7794ec7a6af37f63c4cb0