Fixed wrong memory type allocation on OpenCL backend of FAST.

Fixes #176