Gapless surface states originating from accidentally degenerate quadratic band touching in a three-dimensional tetragonal photonic crystal