Heritage impact study to be conducted on Mamallapuram temple