drm-buffer/gbm: Consolidate helper function to get cogl_fbo from buffer
Two commits from !1963 that look worthwhile to have already.
This would have made !3004 (merged) unnecessary as one of the code paths already had the early allocation.
Edited by Robert Mader