h264dec: fix leak of surface bug.

 when a picture is not a reference frame and dpb is full, decoder outputs the picture directly.
 But the DECODING state of surface, current frame store, and current picture haven't been cleared.

Signed-off-by: Zhong Cong <congx.zhong@intel.com>
Fix the bug of data type update

1.Update data types, including replacing 'uint8' to 'uint8_t',
 'int8' to 'int8_t', 'uint16' to 'uint16_t', 'int16' to 'int16_t',
 'uint32' to 'uint32_t', 'int32' to 'int32_t', 'uint64' to 'uint64_t',
 'int64' to 'int64_t', 'boolean' to 'bool'

2.Create a directory 'vaapi', which contains all files
	related vaapi,including 'vaapibuffer.cpp','vaapibuffer.h',
	'vaapiimage.cpp', 'vaapiimage.h', 'vaapiptrs.h',
	'vaapisurface.h', 'vaapiutils.cpp', 'vaapiutils.h'.
  All of those files mentioned above are belong to the directory 'common' before.

3.Update Makefile.am, Configure.ac

4.Add the file 'common_def.h' into the directory 'common',
	which includes the define of 'TREU',
	'FALSE' and the macro 'N_ELEMENTS(array)'
	and include stdint.h and limits.h

5.Remove the macro 'N_ELEMENTS(array)'  in the files 'vaapisurface.cpp'
	and 'vaapitypes.h', instead of adding the reference of '#include <common_def>'

6.Add the copyright and version into common_def.h

7.Merge common/log.h and codecparsers/log.h