Prevent redefinition of boolean constants

This is required for compatibility with ChibiOS in the future.