mlpdec: support major sync headers with optional extension blocks