[Compass-ci] [PATCH lkp-tests] bin/lkp-setup-rootfs: refactor chmod_root_ssh()