Further explorations of Skyrme–Hartree–Fock–Bogoliubov mass formulas. XV: The spin–orbit coupling