doxygen: add predefines for periph headers

Fixes #1762