Support mixed-precision optimizers in MFSDP v2 (#6506)