[FIXED JENKINS-18786] Port allocation blocks jobs from executing concurr...

...ently

The fix for JENKINS-11255 uses Resources to block the execution of jobs
requiring the same port configuration. However this does not take into
account the node that the port is to be reserved on and also ranges of
ports. Revert to the old behaviour for all but pooled ports.