cainteoir dictionary: allow nullptr as a path

This makes createCainteoirDictionaryReader return a null dictionary
reader when the dictionary path is a nullptr.