Remove extraneous parenthesis in an if condition, and add some parenthesis where an assignment was being used as a condition in a while loop. Change-Id: Ie12c74ac681ef042138e3b41f257ea1bb2ce4267 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40956 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>