frecon: release image on failure

and keep frame timings even for failed frames of the animation to
prevent monopolizing CPU time when loading images fails constantly.
Also, add limit counters for error messages in splash screen loop
to prevent spamming log.

BUG=chromium:605325
TEST=run platform_Powerwash test

Change-Id: I27ca126aafaa081bad1e23daca7cb7bc66f24aed
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/352774
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
1 file changed