1094749 - fix cpu socket counting

This fix is to address hardware setups with non-sequentially
numbered cpu sockets.