egl: common: add trace statements for reference counting

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #64 from morphis/morphis/trace-refcount

egl: common: add trace statements for reference counting