MESOS-1208: Add -Wno-unused-local-typedefs if gcc version is >= 4.8
MESOS-1208: Add -Wno-unused-local-typedefs if gcc version is >= 4.8

Fixes `MESOS-1208`. The issue is that starting from GCC 4.8, `-Wall` includes `-Wunused-local-typedefs` by default. Since `-Werror` is also present, we end up with an error. I think the better fix would be to update boost, but this fix has less risk.

EDIT: Turns out we were already handling this, but only for GCC 4.8. Modify `configure.ac` to handle it for >= GCC 4.8 instead.

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

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