Impurity effects on photoluminescence in lateral epitaxially overgrown GaN