Run gn check for an android build on presubmit

Also, fix gn check errors.

This is a reland of https://codereview.chromium.org/808703005 with some
additional testing to only run gn check for android when the checkout
contains the android specific dependencies.

R=sky@chromium.org

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