msm7x27a-common: fix build for display-legacy variant