media: don't build if display legacy variant