libcore: Fix obsolete syntax in extfmt