Harrogate's Old Courthouse could become townhouses