On the accuracy of Monte Carlo based beam dynamics models for the degrader in proton therapy facilities