Fix H904 violations and re-enable gating

H904 got stricter in hacking 0.9, so fix new violations and
re-enable gating.

Change-Id: I7a3e9006cfb756da4893b9c0a6139a2e70c9aaf4
Merge "Fix H904 violations and re-enable gating"