egl: move to newer native window API

Signed-off-by: Simon Busch <morphis@gravedo.de>