Don't allow access to uclasses before they have been initialised. Signed-off-by: Simon Glass <sjg@chromium.org>