For arc-elf32 target get undefined reference to `debug_lower_hex` when using alloc crate

Thanks after changing __atomic_load and __atomic_store to use

std::cmp::min(4, size.bytes())

I successfully linked with and used libcore.