matcha/tock: tar_loader changes for spiflash seL4 elfloader

- pad header to 512 bytes
- new api's for accessing name & header fields
- copy_File api for in-memory copy of a file's contents

Change-Id: I6da1d06607b3b0350403e5e9699d2d8f6c74399e
1 file changed