Australia captain David Warner says England's Ben Stokes has made a mistake but he would love him to be part of the Ashes series.