erts: Fix dynamic select for darwin

Make sure the fd-sets (read and write) are of equal size.