The decking material itself is not a water barrier, the roof under it is, so trying to fill the gaps isn't going to get you anywhere. The most you could do is pull the fasteners and tighten up the spaces. Keep in mind, that Trex expands and contracts quite a lot, especially when exposed to sunlight, so leaving slight gaps is the recommended installation procedure. Check out the installation tips at the manufacturer's website.
I suffer from CDO ... Its like OCD, but in alphabetical order, LIKE IT SHOULD BE!!!