GenericHighlighter: Use pointers for available definitions list

Change-Id: I82e428019589674d1af234d1e47bebda3602e8f2
Reviewed-by: David Schulz <david.schulz@digia.com>