fusion3: move extract_elf_ramdisk to common

Change-Id: Id5208dc6968c9a4499aecee6d7b8a7277f85b2d5