panfrost: Rewrite blend shader format handling code
The previous routines were ad hoc and in many cases broken and incomplete. Let's be more methodical this time so we can support ES3 properly, as well as make things easy for bifrost's typed load/store.