Undef NSLog* macros before defining them locally.

This means that these definitions don't clash with any that might be
picked up from a .pch.