NXP-10582: update thumbnail codec into nuxeo-thumbnail
NXP-10456: add check fixing NPE