[sftp] use qEnvironmentVariableIntValue instead of manual atoi checking
Summary: it's the Qt way of doing this
Reviewers: broulik
Reviewed By: broulik
Differential Revision: https://phabricator.kde.org/D15477