On the cosmic ray spectrum from type II supernovae expanding in their red giant presupernova wind