[ffigen] Handled proper conversion of macro doubles. (#113) * Fixed issues with macros with value double.infinity and double.NaN