Turkey, Pakistan voice joint resolve against 'terrorism'