Revert "(cheats.c) Fix buffer reallocation"

This reverts commit 947baa6b6032e0c9735bde35bb9356bc6422f7fa.
Merge pull request #1288 from heuripedes/master

Revert "(cheats.c) Fix buffer reallocation"