[PATCHv4 02/36] drm/core: Add afbc helper functions