Change make_rolling_arrfunc to generate proper funcproto