batman-adv: add build checks for packet sizes