hgl winsys: Make everything more "Mesa Like"

* Clean up style to better match other Mesa code
* Fix and reorganize headers
* Use assert more