Fixed registration of local_elemwise_alloc opt.