Qualcomm stock has underperformed the market over the past year, but a deal with Amazon could give it a much-needed boost.