Thermal conductivity of diamond under extreme pressure: A first-principles study