Majority Colorings of Sparse Digraphs