common.hpp: prepend NDN_CXX_ to WITH_TESTS macros

refs #2060

Change-Id: I74ea076cacf01d2f7dd9c2e5a42dec1d336f489f