egl: platform: common: implement conversion to base buffer class

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #70 from morphis/morphis/nativewindow-conversion

egl: platform: common: implement conversion to base buffer class