Fix compilation errors in afsql and tfgeoip

The afsql and tfgeoip modules need to include plugin-types.h to
compile, as they need constants that were moved there recently.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>