Changes all files under doc/ to 644 and adds a check in the docs lint script.
doc/
644
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/38287