Return a non-zero exit code if `opam init --comp=xxx` is invalid

I noticed this while having an invalid compiler in a Dockerfile, and it continued the script despite not being initialized.  A non-zero error code would signal that OPAM has not actually initialized.