Spin-orbit coupling induced splitting of Yu-Shiba-Rusinov states in antiferromagnetic dimers