add file permissions check to --diagnose option in luaotfload-tool.lua