openal: check context before using openal functions