Fix out of bounds reads in ElfWriter
Fix out of bounds reads in ElfWriter

GPUOpen-Drivers/llpc,GPUOpen-Drivers/llpc,googlestadia/llpc,GPUOpen-Drivers/llpc,googlestadia/llpc,googlestadia/llpc,googlestadia/llpc,GPUOpen-Drivers/llpc,GPUOpen-Drivers/llpc,googlestadia/llpc