Alloying-induced softening in metal nanowires studied by atomistic simulations