Enable HAS_LITERAL_SECT for __arm__.
Added dollar_quit implementation for __arm__.

Just copy pasted from the x86_64 implementation, it will certainly
need rewriting before being usable.