Allow extern packed struct for buffer type unpacking code.
Fix extern packed struct test.