add flag for enabling pedantic warnings

also test warning flags to make sure that they work
(these changes are for bfd, opcodes, and binutils)

Change-Id: I39ff03b9188facffd654f9684146ab78381069ba