Added usage of ASTSlotAssignment.TYPE_SHARED in appendSlotAssignment to
support generation of DEFINE_SHARED instructions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>