libslc: Add dummy implementations of memcpy and snprintf