Fixed a variable going out of scope causing an invalid pointer access

- Follow-up to 20bdc01fa687b174a732be4483ddea4982d67ce9
- The issue was found thanks to gcc 4.7.3 on a 32 bit linux system,
  where the issue became evident and caused all sorts of parsing errors
  on argument-less command functions such as 'end', 'close', 'next', etc
- Special thanks to Ind for quickly pointing me to the right place!

Signed-off-by: Haru <haru@dotalux.com>
Follow-up to fad3040499293b1ff4ff634680163fcab4ca5e70

- Corrected token length limit detection when the token is shorter than
  32 characters. Special thanks to Lemongrass3110.

Signed-off-by: Haru <haru@dotalux.com>