[fvar] Centralize axis finding logic Part of fixing https://github.com/harfbuzz/harfbuzz/issues/1673