Added warnings for unused results on functions calling realloc()
Patch for issue #11
Merge branch 'patch/warn_unused_result' of https://github.com/athmasagar/sds

This also defines `__attribute__' for non-GNU compilers.