Haiku swrast: Drop custom viewport

* Modernize code somewhat to be closer to current
  Mesa 10.0.0 swrast