Fix path-qualified and cross-crate constants in match patterns.

r? @pcwalton