Make sure nn::allocmsg() and (less usefully) nn::freemsg() return a value.