Wrong pin configuration of LM317 and LM337
I don't think there is such thing as adapter for changing pins.
You have these options:
a) carefully bend pins (swap position of pins 1 and 2)
or
b) scratch away traces for pins 1 and 2, use bodge wires to "cross" those traces
or
c) make new redesigned PCB with fixed positions of those pins