Fixed openal.cmake snprintf() checks.

CMake's CHECK_FUNCTION_EXISTS function fails if the requested function
is built-in, not a real function, or inlined (which is the case with
snprintf()).