check memory allocation and initialize to zero value in save_recyuv (v2)
check memory allocation and initialize to zero value in save_recyuv (v2)

v2:
Remove not necessary check dst_Y against NULL for sencond free(NULL).
Remove not necessary check dst_Y and dst_U against NULL for second free(NULL)
and third free(NULL).

Signed-off-by: Lim Siew Hoon <e412356d7e67dbdde94e841e5d46937fb9f4e623@intel.com>
(cherry picked from commit 8c0973050d825fb6a0734dd62fdf8b209aee8ad0)

01org/iotg-lin-gfx-libva,01org/libva-cros,01org/libva-cros,01org/iotg-lin-gfx-libva,01org/iotg-lin-gfx-libva,01org/libva-cros