Don't complain about image being too large for GPU when GPU is not used
Merge branch 'master' of github.com:FilipeMaia/libspimage
Remove meaningless const real in the return type
Fix bad error checking