Add declarations to quiet warnings

This patch removes some implicit declarations in las2git.c that were causing warnings for clang-503.0.40. Also  added a missing type specifier for `l2g_state_free`.