android/filesystems: Fix a bug in ramdisk_extractor.cpp

This patch fixes a bug that prevented proper extraction of ramdisk
files when the target file appears after another file with the exact
same name length in the cpio stream.

+ Add regression test that updates the test ramdisk image.

Change-Id: I7e03c8acf725fd15a94c97bd2592690297d59ab3
Signed-off-by: Jason Hu <jia-cheng.hu@intel.com>
4 files changed