ApiQueryExtracts: Call setWarning() on $this, not $result

Calling it on $result results in the warning looking like it's coming
from the 'result' module rather than 'textextracts'.

Change-Id: I396409c5e1d09385d9b564ca8cf854c899bb1ba4