Use common header file for character set handling in Samba 3 and Samba 4.