Fix overflow detection in ARM relocation