Factor out amiga_handle_*_hunk functions.