Annotate APInt methods where it's not clear whether they are in place with warn_unused_result.

Fix ScalarEvolution bugs uncovered by this.
ScalarEvolution: Warn if the result of setFlags/clearFlags is unused.

This was a source of bugs in the past.