refactor(memmap): check ELF object type rather than flag

This is a small functional change which removes the need to pass the
type of the ELF object given to `memory.elfparser.tfa_mem_obj_factory`
by instead checking its type.

Change-Id: I653e71345e41bcbae87a3a7475d7a1dd69614b5d
Signed-off-by: Chris Kay <chris.kay@arm.com>
1 file changed