Fix kernelspec test skip condition

The code actually tries to write to /usr/local/share, but the test was
still checking for /usr/share. @minrk will test, as access to these
differs on his machine.
Merge pull request #6230 from takluyver/ks-test-check-usr-local

Fix kernelspec test skip condition