BlackBerry mulls firing 40% staff in latest cost-cutting move