Formation of Giant Planets in Dense Nebulae: Critical Core Mass Revisited