[PATCH V2 04/20] qemu: Add function to get bool value from migration params