Fix timestamp with timezone handling for TPgSQLStatement. Fixes ROOT-5811.