panfrost/midgard: Set masks on ld_vary