ShellPkg/ShellLib: Fix dynamic command fails to start during boot