This is indeed a rendering problem, see https://github.com/openstreetmap/osm2pgsql/issues/1394

Changeset 100830274 provided a quick hack to solve the issue temporarily (https://www.openstreetmap.org/changeset/100830274); future releases of osm2pgsql are expected to solve it once and for all.