Convert *_buffer_from_resource() functions to try_from
References: #884
Some work on replacing from/is with try_from. It replaces wlr_dmabuf_v1_buffer_*_buffer_resource
, wlr_drm_buffer_*_resource
and wlr_buffer_*_resource
. I think these may be the last ones, other functions are using either from or is, not both.