Update pg gem

MSP-9197

Update pg gem in attempt to fix "PG::Error: result has been cleared" or
at least get a better error message.