Cavegen: Respect is_ground_content MapNode setting; fix some code formatting issues