[sr-dev] git:5.8:1928af8f: core: set null-terminated char for modparam (backport from master)