dist/licenses: add and use diff-filter