BRICS unanimous in recognising threat posed by terrorism: PM Narendra Modi