NvEncGetEncodePresetConfig() only works with older presets. The fact that it worked in the older driver was a bug, and is fixed in newer driver.
Please use NvEncGetEncodePresetConfigEx() which takes both preset and tuningInfo as an input. Mapping from an older preset to newer preset and tuningInfo can be found in the preset migration guide.