Fix bug in errors module when error index out-of-range, fixes #16
because the seg fault occured due to an out-of-range -1001 error
thrown by the Linux OpenCL ICD loader.
Add friendly error message when no OpenCL platforms are found
Fix unordered teardown when no devices found
Abbreviate error messages for non-debug builds