get rid of some code duplication

put android_wlegl_create_buffer boilerplate code into
wlbuffer_from_native_handle.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>