libqos: add blkdebug_prepare_script