batman-adv: Avoid free/alloc race when handling OGM2 buffer