of_asprintf: Generalize some #ifdefs

All workarounds that were for Wii and PSP are caused by newlib, so it's
better to check for newlib instead.