[BugFix] Fixes mallocallocator for compilers without C++11 support.

This is the same fix as for debugallocator. See flyspray #1287.
The problem was that move semantics were used if the compiler supports
variadic templates.