winsys/radeon: add the implementation of fences from r300g