[kodi] Python 3 and libfmt fixes