backport  #188

https://github.com/lualatex/luaotfload/pull/188