Medical device makers in Massachusetts and elsewhere are warning of potential job losses and other consequences as the industry’s hopes of avoiding a 2.3 percent excise tax fade amid the stalled fiscal cliff negotiations. The tax, scheduled to take effect on Jan. 1, is expected to raise $20 billion over 10 years. It’s one of several taxes imposed on segments of the health care industry to help pay for President Barack Obama’s health care overhaul.