(Reuters) - Canada's BlackBerry Ltd reported a smaller quarterly loss on Wednesday, helped by higher margins from software and services sales.