Core: Replace a sprintf in core_timing with StringFromFormat