Add #[inline] to impl Zero for ()

Follow-up to #8155
auto merge of #8404 : stepancheg/rust/zero-unit-inline, r=alexcrichton

Follow-up to #8155