Fix alcGetEnumValue error handling