SecurityPkg: Fix assert when setting key from eMMC/SD/USB