build system: suppress "typedef locally defined but not used" warnings

This is needed for builds on F18.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>