[quat] fix error in rpy to quat conversion