The attached patch fixes the fast track of the ios_read_uint and adds test cases to cover the fast track as well.
The cases of aligned 16 bits for both endianness are already tested in maps-uint-1.pk and maps-uint-2.pk. Therefore, this patch skips them and adds cases for all other aligned 8k bits up to 64.