The maximal subgroups of the sporadic simple group of O'Nan