[libc] Fix LIBC_INLINE build error in riscv/irelative.cpp (#183249)
LIBC_INLINE is defined in attributes.h, which was not included. Since
constexpr already implies inline, simply remove the LIBC_INLINE
qualifier from the static helper, matching the x86_64 and aarch64
irelative implementations.