Additional parameter validation for EGL functions

Change-Id: I841d005647559799edbc2c4824c61ea5791cf893
libutils: get ride of debug trace file errors

put them as warning only...

Change-Id: Idbdddbc83833c938288da6b7a68fb3539d139538