Durham and former England all-rounder Ian Blackwell has been forced to retire because of a shoulder injury.