h264_redundant_pps: Fix memleak in case of errors