optimize or-shift to multiply

You wouldn't think this actually appears in real code, but testing reveals it does, often as a result of inlines.