[WiP] gallium: Work in progress on OpenFIMG driver

Changes:
 - sync with kernel ABI,
 - implement several fast paths for compliant geometry data,
 - fix several bugs in batch cache,
 - silence some compiler warning,s
 - allow debugging messages in non-debug builds,
 + other minor changes I happened to forget about.