BlackBerry reports huge loss on writedown, impairment charges