HBO to adapt novel 'Corrections'