[JENKINS-20407] Make sure dir exists before chmod

Ensures that the directory /var/run/jenkins exists before the installer
script attempts to chmod it. New installs via the .deb package were
failing in Debian and Ubuntu because the directory didn't exist. See
https://issues.jenkins-ci.org/browse/JENKINS-20407.