I just got it working properly today with the MAME 2003 core (you can also use the MAME 2003 Plus core) using the most recent Retroarch nightly and going into Settings -> Video -> Output -> Video Rotaton -> 90 deg
You may need to go into Settings -> User Interface -> Show Advanced Settings, for...