If pattern synonym is bidirectional and its type is some unboxed type T#…

Authored by cactus.

Description

If pattern synonym is bidirectional and its type is some unboxed type T#, generate a worker function of type Void# -> T#, and redirect the wrapper (via a compulsory unfolding) to the worker. Fixes Trac #9732.