libpostproc/postprocess: avoid some if()