[proxysetting] Fix build with NM 1.4
The NMSettingProxyMethod enum only exists since NetworkManager 1.6.
So to make it compile with 1.4.x as well (which is the minimum supported
version), use the corresponding numbers instead of the enum defines.
Differential Revision: https://phabricator.kde.org/D17529