Support `optimization-passes` in the release profile

Created by: cmichi

Final piece for closing https://github.com/paritytech/cargo-contract/issues/169.

Merge request reports