NXP-11096: avoid potential NPE when fetching ChainParameters subcontext