Remove unused function wWindowCheckAttributeSanity()