AVC/h.264 common: remove trailing zero bytes in NALUs

Implements #997.
tests/resuls.txt: fix accidental »failed« from 0bc5175