Added LICENSE line to files that were missing it

@mdboom @iguananaut @taldcroft @eteq - could you all check that I haven't added the license line to any file that shouldn't include it?

I avoided files in directories with ``extern`` or ``compat``.