cmake: make BOOST_LOCALE dependency optional

Change-Id: Ib6309d20711bbf40f6dbf0b916e68a2f69223336
Reviewed-on: http://gerrit.aldebaran.lan/20683
Reviewed-by: proullon <proullon@aldebaran-robotics.com>
Tested-by: gerrit