Ensured the UnmanagedFunctionPointerAttribute is always set on generated delegates.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>