[AC21.5] Fix configure check for Xaw3d