Fix overlooked nullopen() implementation.
modules). Obtained from: NetBSD, with some architectural changes and many additions.