Genuine tripartite continuous-variable entanglement with spatial degrees of freedom of photons