doc: add license information for gen. files

Closes #12069.

cc @brson