librustc: Replace the `&static` bound with `'static`

r? @nikomatsakis