Answer: Dick opens the door to the freezer from one side, but when the shot cuts inside the freezer, the door's hinges are on the other side. Also, upon entering the freezer, it was shown next to the Chef's Office, but on exiting, it is across the hall.
I can't imagine what happened here, unless Dick accidentally went to open the wrong door and they decided to use that take. From what I've heard of Kubrick, though, I doubt that could be the case. I imagine Kubrick was simply trying to disorient the viewer. I've also heard it suggested that he is introducing the viewer to the power the hotel has to alter what we consider to be physical realities.