Perturbative approach to J mixing in f-electron systems: Application to actinide dioxiodes