An asymptotic expansion for the fractional p -Laplacian and for gradient-dependent nonlocal operators