Fixed a compiler error on Windows

The call to sqrt needs to be cast to double to avoid ambiguity.

Change-Id: I017a645ad4357a3a03ee033837da9fad1de10d2c
Merge topic 'gamess-windows' into master

9476c8c2 Fixed a compiler error on Windows