Build: Eliminate duplicate debug flags for IAR

This patch only adds the debug flag for non debug builds. The IAR
tools are unreasonably picky with duplicate flags.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
Change-Id: I3e094c861fdb69cceeb364633edbeafb1b96abcb
1 file changed