Add Vorbis support to the CMake build system.

Applies patch #3920.