use LIST_FOR_EACH_ENTRY_SAFE in DestroySurfaces

it fixes the infinite loop in DestroySurfaces,
fix vp8vldemo hang during exit

Change-Id: I16a7f60409d575da6aaf98d246f15a631aeeda41
specify tiling mode, stride and pixel-format by VASurfaceAttrib

Change-Id: I8755874d44ef28bcfad9cbde80e57262cff8607a
wrapper_openDriver: fix string management logic

string copies and cats should be done on a clean array so
that we don't have garbage when changing parts of the string

The libraries are subject to be opened within the Sandbox when
using ChromiumOS, so this dlopen calls should just return the
handle to the already opened library.  Using a bad string will
result in an error and the sandbox is locked so no open of any
library is possible.

Also it is responsibility of the caller of dlopen to call dlclose
as calling dlclose will cause the sandbox to avoid any future open
of the library in case of error

Change-Id: I417335f057fb0332beb6598ef2f6ff2a446deb0a
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Bump version for new release

New version 1.0.22

Change-Id: I04ba8b7e59b2a2ef4876c13f85582c029f4ca06d
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>

fixme

Change-Id: Icf761059455ce1015f5ae1493b432caa846bfafe
va_trace: add vawr_BufferInfo to support va_trace

Change-Id: Ib3029f7491b25a84c9536ff8fc22429c2c8547d8