Problematic method was Animation::drawFrameWithMaskAndScale() with mask (Picture) pointer accessing beyond the data size
Caught on Android 13, reported on the forums here: https://forums.scummvm.org/viewtopic.php?p=98340#p98340
Also moved shadow animation check to loadAnimation (rather that doing it each time within drawFrameWithMaskAndScale()
Toon has a RNC implementation with 2 differences from the one taken from SKY:
1. Protection against overread. Add it to common version and adjust callers
in sky.
2. Lack of key parameter for obfuscation. We ignore it anyway and don't
support obfuscation, so delete it in common version as well
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'