replace viewport check by clamping

The viewport dimension check was buggy (wrong upper limits).
We don't need it there anyway, rather, we clamp the coordinates
in the viewport() implementation in the Blitbuffer API.
Merge pull request #278 from hwhw/master

replace viewport check by clamping