Resolve ambiguous factory spec. with nvcc+GCC (#6011) Explicitly specify the 4th template parameter in the single-factory partial specialization of `factory` to disambiguate it from the dual-factory specialization when compiled with nvcc + GCC 14. Fixes #5565. Co-authored-by: Oz <oz-agent@warp.dev>