Fix PDO_DBLIB bugs: #64338, #64808, #63638

Synchronize with master