MDEV-6980 OUT parameters in PREPARE

revert the patch for "out parameters in prepare"