ffplay: unify displaymatrix based rotation code