Update freeglut 2.8.1

Update freeglut 2.8.0 to 2.8.1 and fix build problem in using MacOS api 1.7

Closes #19864