I tend to walk on the opposite side to the stateroom doors so I don't bump into room stewards or passengers emerging from rooms.
It's funny because it's common in many countries for everyone to keep to a certain side on pavements and footpaths, but when visitors to the UK ask what side people should keep, they are surprised to find that we don't do that in the UK. I just tell them to choose the side that the person coming towards you isn't on.