save only global processes on global zone ps

Save only processes that are running in the global zone on Solaris.
Please document the expected size of pidlist and have the loop below terminate early if it overflows !