Fix static void pointers which point to label addresses.

Segfaults occured if a static pointer was assigned to
an &&label value, this was because the OP_LABEL_ADDR case
hadn't been handled in gen.c. A test case was added.