Fix compilation with nvcc-5.5

As reported in https://github.com/mariusmuja/flann/issues/133
we need to declare the functions for device and host.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Merge pull request #148 from jlec/cuda2

Fix compilation with nvcc-5.5