python/qemu/qmp/legacy: Replace 'returns-whitelist' with the correct type