oma: Validate sample rates

The sample rate index is 3 bits even if currently index 5, 6 and 7 are
not supported.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
dynamic loading of shared faac library
no Werror on implicit-function-declaration and missing-prototypes
custom icon and windows resource
use upstream version tag, my repo is always rebased