Define and use a dupstr() macro to call strdup()