there is no real solution unless u consider a solution, the migration of the VM to UEFI mode from bios
edit: let me expand on this
1 netdata needs this
2 removing netdata can be also a way to remove the error
if u are willing to migrate from bios to uefi u need to
1 convert mbr → gpt
2 create efi partition
3 in qemu import into a new vm that has efi mode
4 reinstall grub on efi