Fix avi checking wrong variable for openal status (for now)