unit-tests: Skip fmemopen() based printf() tests if not available