Add fallback for __func__ (ioq3 isn't compiled as c99 by default)

Using Debian gcc version 4.7.2 and clang 3.0-6.1 anyway.
Merge remote-tracking branch 'upstream/master'