Bug fix and style fixes

* fix bug with opaque regions, credit goes to pq
* pass pixman_op_t into repaint_region directly instead of using bool

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>