Outer crust of a cold non-accreting magnetar