x86/hevc_res_add: fix register count in hevc_transform_add{16,32}_10_avx2

Signed-off-by: James Almer <jamrial@gmail.com>
lavfi/apad: fix if_( style
avcodec/hevc_ps: do cleanup in case of unsupported bit depth

Fixes memleak
Fixes CID1231989

Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: Mickaël Raulet <mraulet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>