flac: Use configure flags instead of *FLAGS variables.

This prevents configure from adding -L/lib/ to OGG_LIBS, which breaks
the build on ARM.
Merge pull request #612 from ppuryear/fix-flac-build

flac: Use configure flags instead of *FLAGS variables.