Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates.

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