[PATCH v5 32/46] x86: Allow logging to be used in SPL reliably