On the pinning mechanism of screw dislocations in L12 compounds