core: rval - don't use static buffer for int conversions