updated rails express patches to better support ruby-prof

ruby-prof needs a few more symbols to be exported from gc.c.

I made the necessary changes for 1.9.3-{p327,p374,head}.

Can you please merge?