fix bug in mysqli_stmt::get_result()