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
Merge pull request #4 from halleyzhao/20140313

Tiling, Stride and fix bug in vaDestroySurface