PA lawmaker Gergely charged with gambling, corruption