tests: fix JPEG decoding test to match the latest API.
tests: fix JPEG decoding test to match the latest API.

Fix bug in parsing Huffman DC table and also sync the code to match
the latest API change. In particular, pad the Huffman table with
zero to suit 4-byte boundaries.

Signed-off-by: Gwenole Beauchesne <729713629d9640cc095f1c77c692e1881f8093c4@intel.com>

halleyzhao/libva-fdo,CyanogenMod/android_hardware_intel_libva,android-ia/hardware_intel_libva,android-ia/hardware_intel_libva,halleyzhao/libva-fdo,CyanogenMod/android_hardware_intel_libva,android-ia/hardware_intel_libva,halleyzhao/libva-fdo,CyanogenMod/android_hardware_intel_libva