v3d: Detect the correct number of QPUs and use it to fix the spill size.