Fix CompilerDriver's handling of boot image extension.
am: 96491e9db2

Change-Id: I1bce0c4fb16a0d879fb473d99de0385422ae9a2e