Eoin Morgan says he would have withdrawn the appeal had an Australia player been in the same situation as Ben Stokes for his dismissal.