Fix xrandr -q parsing when output line contains "primary"

xRandR (in newer versions?) adds an extra column for primary outputs.
The old code did not detect this, would try to split the "primary" string into mode and pos, and use the mode+pos line as rotation parameter.