rework FindUnusedPID after heads up from Coverty

Avoid the special purpose Null PID while here.
Its still not perfect, but should be good enough for its intended use
when recording radio.