Giants commit errors in loss to Marlins