That will happen at some point, but not in the short term (go-ipfs needs to update first).
Anyway, in case someone finds themselves with the same panic, it looks like a flipped bit/corrupted repo – I regenerated the same dataset (same hashes) and the issue is no more.
So the fix is to either update to badger v2 or restore data from backup.