[boards] include "platform.h" from board.h. Needed since platform specific info in platform_consts is required.