Update luarocks. #1018

Fix #1013.
Partial C99 cleanup of term.c #1020