MAINT: centralize the list of numpy functions that map 0 to 0

see also https://github.com/scipy/scipy/issues/4239