drm/radeon/kms: use helper functions for fence read/write