libfreerdp-locale: start moving some code to libwinpr-input