log: replace "Skip" with more accurate "Merge"
encoder: do not print weightp stats if no P frames were generated

(prevents NAN or worse errors)