WELD-1651 - Specialization of generic beans throws inappropriate exception