freedreno/ir3: get the # of miplevels from getinfo