Tailoring of domain wall dynamics in amorphous microwires by annealing