Check for NULL result from strdup

Per Coverity Scan