x11/libXcursor: Avoid duplicates in cursor search path
The cursor search path extrapolated by the configure script contains
duplicated paths. Work around this by providing the full correct
search path to configure via --with-cursorpath
PR: 273806, 273744
Reviewed by: arrowd
Approved by: x11 (manu)