A Gronwall inequality via the generalized proportional fractional derivative with applications