r600g: use common scissor and viewport code