panfrost/midgard: Use the appropriate ld_attr type