egl: move support.h header to common platform directory

Signed-off-by: Simon Busch <morphis@gravedo.de>
Remove duplicate support.h header file

Signed-off-by: Simon Busch <morphis@gravedo.de>
egl: move to newer native window API

For the purpose of backward compatiblity with drivers not compliant with jb we're mapping
the deprecated to the new API. The passed fenceFd descriptors are set to -1 to indicate
that the buffer can be accessed immediately.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Only use printf for debug output when debugging is enabled

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