[PATCH 6.12 458/512] Bluetooth: eir: Fix possible crashes on eir_create_adv_data