panfrost: Derive UBO count from shader_info