configure: Don't redirect output of pkg-config

This will of course also lead to the flags getting redirected. Silly me.

While at it also remove the pointless warning flags to cc.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>