Revert "media: Use kernel headers"

This reverts commit fb6de73322860904e1ef55643eb0b776b8aab2de.
Revert "media: Use project pathmap"

This reverts commit 5c645a8836644d555b6ffb76ba456f7774fe056b.