docgen-viewer: removed crashing code, fixed static warnings, other cleanup

Removing broken annotation logic for parameters - Issue 18133

R=alanknight@google.com

Review URL: https://codereview.chromium.org//232063003