[PULL 24/25] qemu-file: Make qemu_file_get_error_obj() static