GIF decoding: Add a unit test for repetition count

Also add a test to BitmapImageTest to ensure we loop one
extra time when animating.

BUG=592735

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

Cr-Commit-Position: refs/heads/master@{#380800}
2 files changed