glx: Avoid atof() when computing the server's GLX version

atof() is locale-dependent (sigh), which means 1.3 becomes 1.0 if the
locale's decimal separator isn't a full-stop. Just use the protocol
major/minor instead. This would be slightly broken if the server
generically implements 1.3+ but a particular screen is only capable of
less, but in practice no such servers exist.

Gitlab: mesa/mesa#74
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
40 jobs for !2053 with glx-avoid-atof in 14 minutes and 27 seconds (queued for 4 seconds)
merge request