regulator: handle kcalloc() failure