Merge "goldfish-codecs: improve image data copy" am: 10382025fb

Change-Id: I59410dfd369dec285e447de1973d620a3aefbd4d