libprocess: Make the counting of netmask set bits more efficient.
libprocess: Make the counting of netmask set bits more efficient.

see summary

Review: https://reviews.apache.org/r/31884

neilconway/mesos,craimbert/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,Gilbert88/mesos,craimbert/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,gsantovena/mesos,reneploetz/mesos,zmalik/mesos,reneploetz/mesos,chhsia0/mesos,abudnik/mesos,zmalik/mesos,andschwa/mesos,gsantovena/mesos,kaysoky/mesos,dforsyth/mesos,reneploetz/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,chhsia0/mesos,chhsia0/mesos,abudnik/mesos,zmalik/mesos,yuquanshan/customizedMesos,kaysoky/mesos,zmalik/mesos,yuquanshan/customizedMesos,dforsyth/mesos,neilconway/mesos,abudnik/mesos,verizonlabs/mesos,zmalik/mesos,verizonlabs/mesos,andschwa/mesos,gsantovena/mesos,kaysoky/mesos,zmalik/mesos,yuquanshan/customizedMesos,craimbert/mesos,asamerh4/mesos,neilconway/mesos,andschwa/mesos,kaysoky/mesos,asamerh4/mesos,asamerh4/mesos,verizonlabs/mesos,reneploetz/mesos,neilconway/mesos,craimbert/mesos,kaysoky/mesos,gsantovena/mesos,gsantovena/mesos,verizonlabs/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,chhsia0/mesos,jpeach/mesos,dforsyth/mesos,andschwa/mesos,gsantovena/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,craimbert/mesos,abudnik/mesos,dforsyth/mesos,jpeach/mesos,neilconway/mesos,abudnik/mesos,jpeach/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,jpeach/mesos,asamerh4/mesos,chhsia0/mesos,kaysoky/mesos,chhsia0/mesos,jpeach/mesos,neilconway/mesos,Gilbert88/mesos,reneploetz/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,abudnik/mesos,asamerh4/mesos,dforsyth/mesos,andschwa/mesos,asamerh4/mesos,jpeach/mesos,zmalik/mesos,yuquanshan/customizedMesos,reneploetz/mesos,verizonlabs/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,gsantovena/mesos,Gilbert88/mesos,verizonlabs/mesos,dforsyth/mesos,jpeach/mesos,neilconway/mesos,Gilbert88/mesos,dforsyth/mesos,Gilbert88/mesos,craimbert/mesos,andschwa/mesos