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