This function is used by the EFI loader but we want to avoid it for the
app, since it records global state.
We don't intend to support running arbitrary EFI apps outside of a
bootstd context, so drop this call for the EFI app.
Signed-off-by: Simon Glass <sjg@chromium.org>